import request from '@/utils/request'
import GLOBAL from '@/config/config';
// 获取路由
export const getCommodityPage = (data) => {
  return request({
    url: GLOBAL.MAIN_SERVER + '/order-center/fo/commodity/page',
    method: 'get',
    params: data
  })
}
export const saveCommodity = (data) => {
  return request({
    url: GLOBAL.MAIN_SERVER + '/order-center/fo/commodity/save',
    method: 'get',
    params: data
  })
}
export const delCommodity = (data) => {
  return request({
    url: GLOBAL.MAIN_SERVER + '/order-center/fo/commodity/del',
    method: 'get',
    params: data
  })
}

